package com.niyue.sandbox.uclock.core;

/**
 * Observer design patterns: Subject
 * @author yue
 *
 */
public interface Timer {
	/**
	 * register a clock to this timer to get updated information
	 * @param clock a clock
	 */
	public void register(Clock clock);
	/**
	 * remove a clock from this timer 
	 * @param clock a clock
	 */
	public void remove(Clock clock);
	
	public void notifyClock();
	
}
